import request from '@/utils/request'

// 查询视频点赞列列表
export function listProsppraise(query) {
  return request({
    url: '/project/prosppraise/list',
    method: 'get',
    params: query
  })
}

// 查询视频点赞列详细
export function getProsppraise(id) {
  return request({
    url: '/project/prosppraise/' + id,
    method: 'get'
  })
}

// 新增视频点赞列
export function addProsppraise(data) {
  return request({
    url: '/project/prosppraise',
    method: 'post',
    data: data
  })
}

// 修改视频点赞列
export function updateProsppraise(data) {
  return request({
    url: '/project/prosppraise',
    method: 'put',
    data: data
  })
}

// 删除视频点赞列
export function delProsppraise(id) {
  return request({
    url: '/project/prosppraise/' + id,
    method: 'delete'
  })
}
